package com.code.train.service;

import com.code.train.req.SkTokenQueryReq;
import com.code.train.req.SkTokenSaveReq;
import com.code.train.resp.PageResp;
import com.code.train.resp.SkTokenQueryResp;

import java.util.Date;

/**
 * TrainService
 *
 * @param
 * @author 南汉卿
 * @return
 * @date 2025/8/21 23:57
 */
public interface SkTokenService {
    void save(SkTokenSaveReq req);

    PageResp<SkTokenQueryResp> queryList(SkTokenQueryReq req);

    void delete(Long id);

    void genDaily(Date date, String code);

    Boolean valid(Date date, String trainCode,Long memberID);
}